﻿using System.Xml.Serialization;

namespace DotNetMax.CodeGen.Model.Entity
{
    /// <summary>
    /// Entidade de Arquivo de Projeto
    /// </summary>
    public class ProjectFile : BaseEntity
    {
        #region Constructor

        public ProjectFile(string type)
        {
            _Type = type;
        }

        public ProjectFile(string filePath, string name, string type)
            : base(filePath, name)
        {
            _Type = type;
        }

        public ProjectFile(string filePath, string name, string guid, string type)
            : base(filePath, name, guid)
        {
            _Type = type;
        }

        #endregion

        #region Fields

        private string _Type;

        #endregion

        #region Properties

    
        /// <summary>
        /// Informa o Tipo do Arquivo de Projeto
        /// </summary>
        [XmlAttribute("Type")]
        public string Type
        {
            get { return _Type; }
            set { _Type = value; }
        }

        #endregion

    }
}